<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.bluedot.domain.*"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CUST</title>
</head>
<body>

<table>
	<tr>
		<td>ID</td>
		<td>姓名</td>
		<td>国籍</td>
		<td>电话</td>
		<td>EMAIL</td>
		<td>添加</td>
	</tr>

	<%
		List<Cust> list = (List) pageContext.getSession().getAttribute("list");
		for (int i = 0; i < list.size(); i++) {
			Cust cust = list.get(i);
	%>
	<tr>
		<td><%=cust.getCust_id()%></td>
		<td><%=cust.getCust_name()%></td>
		<td><%=cust.getCust_country()%></td>
		<td><%=cust.getCust_phone()%></td>
		<td><%=cust.getCust_mail()%></td>
		<td><a href="Regist.action">注册帐户</a></td>
	</tr>
	<%
		}
	%>
</table>
</body>
</html>